====== Notes pour installation personnelle ======

===== Index des configurations =====

^  hostname  ^  IP  ^  Designation  ^  OS  ^  Topic  ^
|  draco-ultrabook  |  192.168.10.10  |  HP ENVY Sleekbook 6-1260sf (D0X03EA#ABF)  |  Xubuntu 16.04\\ Windows 8.1  |    |
|  draco-ultrabook  |  192.168.10.10  |  HP ENVY Sleekbook 6-1260sf (D0X03EA#ABF)  |  Xubuntu 16.04\\ Windows 8.1  |    |
|  draco-ultrabook  |  192.168.10.10  |  HP ENVY Sleekbook 6-1260sf (D0X03EA#ABF)  |  Xubuntu 16.04\\ Windows 8.1  |    |
|  draco-ultrabook  |  192.168.10.10  |  HP ENVY Sleekbook 6-1260sf (D0X03EA#ABF)  |  Xubuntu 16.04\\ Windows 8.1  |    |
|  draco-ultrabook  |  192.168.10.10  |  HP ENVY Sleekbook 6-1260sf (D0X03EA#ABF)  |  Xubuntu 16.04\\ Windows 8.1  |    |


===== Accès disque après hibernation =====

Voir bug LP #607560 : jbd2 writing block every 5 - 10 seconds, preventing disk spin-down and making noise

> jbd2 doesn't respect the commit interval for everyone most likely because pm-utils remount partitions with changed commit value.
<file "" /usr/lib/pm-utils/power.d/journal-commit>JOURNAL_COMMIT_TIME_AC=${JOURNAL_COMMIT_TIME_AC:-0}             #will remount partition on AC power with commit=0.</file>

  * Dump HDD activity :

<code bash>
#block_dump
#"leafpad" is a lightweight text editor, should be in ubuntu by default but not sure.
sudo -i                                         #go into root shell
leafpad /etc/rsyslog.conf               #comment line starting with "$ModLoad imklog". This will prevent receiving kernel messages by syslog and thus lessen disk activity.
restart rsyslog                         #restart syslog
mkdir /tmp/mytemp                       #create temporary directory
mount -t tmpfs -o size=100000000 none /tmp/mytemp       #create temporary FS in RAM, roughly 100MB in size.
dmesg -c                                        #empty kernel messages buffer (contains lots of data from boot time)
echo 1 > /proc/sys/vm/block_dump                                #enable hdd activity dumping.
watch "dmesg -c >> /tmp/mytemp/trace_01.txt"    #this dumps hdd trace into trace_01.txt every 2secs. Wait some time... Do something...

echo 0 > /proc/sys/vm/block_dump                                #disable hdd activity dumping
umount /tmp/mytemp              #unmount temporary directory. DON'T FORGET TO COPY TRACE RESULTS!
leafpad /etc/rsyslog.conf       #uncomment "#$ModLoad imklog"
restart rsyslog                         #after restart, hdd activity dump will be in syslog. Basically you can skip creating temporary directory if you don't plan to trace your hdd for too long.
exit                                                   #exit from root shell
</code>

  * Fix 1
<file "" /etc/pm/config.d/10_journal_commit_time>JOURNAL_COMMIT_TIME_AC=30</file>

===== Gestion du RAID =====

[[https://wiki.ubuntu.com/ReliableRaid]]

[[https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/990913|LP #990913 - mdadm]]

===== Intel Core i3/i5/i7 =====

[[https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1188647|LP #1188647 - linux]]

===== NFS =====

[[https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1270445|LP #1270445 - nfs-utils]]

===== Imprimante =====

[[https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/293832|LP #293832 - poppler : printer prints page at wrong position, page cut]]

===== USB =====

[[https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/88746|LP #88746]]
